{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b24b3d88",
   "metadata": {},
   "outputs": [],
   "source": [
    "import cv2\n",
    "import numpy as np\n",
    "import matplotlib.pyplot as plt\n",
    "from matplotlib.widgets import Slider\n",
    "from IPython.display import display, clear_output\n",
    "%matplotlib inline\n",
    "\n",
    "def show_hsv_color(h=90, s=255, v=255):\n",
    "    \"\"\"\n",
    "    在Jupyter Notebook中显示指定HSV值的纯色图\n",
    "    参数:\n",
    "        h (int): 色调 (0-180)\n",
    "        s (int): 饱和度 (0-255)\n",
    "        v (int): 明度 (0-255)\n",
    "    \"\"\"\n",
    "    # 创建HSV纯色图像\n",
    "    hsv_image = np.full((30, 50, 3), (h, s, v), dtype=np.uint8)\n",
    "    bgr_image = cv2.cvtColor(hsv_image, cv2.COLOR_HSV2BGR)\n",
    "    rgb_image = cv2.cvtColor(bgr_image, cv2.COLOR_BGR2RGB)  # 转换为Matplotlib的RGB格式\n",
    "    \n",
    "    # 显示图像和数值信息\n",
    "    plt.figure(figsize=(2, 2))\n",
    "    plt.imshow(rgb_image)\n",
    "    \n",
    "    # 添加文本信息\n",
    "    plt.title(f\"HSV: H={h}, S={s}, V={v}\\n(standard_HSV: {h*2}°, {round(s/255 * 100, 1)}%, {round(v/255 * 100, 1)}%)\", \n",
    "              fontsize=14, pad=20)\n",
    "    plt.axis('off')\n",
    "    plt.show()\n",
    "    \n",
    "    # 输出颜色描述\n",
    "    standard_h = h * 2\n",
    "    color_name = \"未知\"\n",
    "    if 0 <= standard_h < 15 or 345 <= standard_h <= 360:\n",
    "        color_name = \"红色调\"\n",
    "    elif 15 <= standard_h < 45:\n",
    "        color_name = \"橙色调\"\n",
    "    elif 45 <= standard_h < 75:\n",
    "        color_name = \"黄色调\"\n",
    "    elif 75 <= standard_h < 150:\n",
    "        color_name = \"绿色调\"\n",
    "    elif 150 <= standard_h < 195:\n",
    "        color_name = \"青色调\"\n",
    "    elif 195 <= standard_h < 270:\n",
    "        color_name = \"蓝色调\"\n",
    "    elif 270 <= standard_h < 315:\n",
    "        color_name = \"紫色调\"\n",
    "    elif 315 <= standard_h < 345:\n",
    "        color_name = \"粉色调\"\n",
    "    \n",
    "    print(f\"颜色描述: 饱和度为 {s/255 * 100:.1f}% 的{color_name}，明度为 {v/255 * 100:.1f}%\")\n",
    "    if v < 30:\n",
    "        print(\"注意: 明度很低，颜色偏暗\")\n",
    "    elif s < 30:\n",
    "        print(\"注意: 饱和度很低，颜色偏灰\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "383536d1",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZQAAAE7CAYAAAD6j3ebAAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjUsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvWftoOwAAAAlwSFlzAAAPYQAAD2EBqD+naQAAKihJREFUeJzt3XtcVGX+B/DPDMNN7oEKiIAXVkwN1FARFRTFvJB5T0sxcEtN10jMSxqam/3MtMzdLi9SyTQ3DVMrzRUzL6RWXtpUNBXR8n5FRBSE7+8PXzPLMDMwDA9h2+f9evHa9ZznnOc5p5n5nHOe55yjEREBERFRNWlruwFERPS/gYFCRERKMFCIiEgJBgoRESnBQCEiIiUYKEREpAQDhYiIlGCgEBGREgwUIiJSgoFCRERKMFBskJubC41Gg8cee8ximW+//RYajQZjxowxmZeVlYXBgwejQYMGcHBwgJeXF0JDQzF8+HB89NFHhnIdO3aERqPB7t27K2zP8ePHodFo0KxZM5u2JyYmBhqNBhcuXLBYJjg4GE5OTjatvyKzZs2CRqOx+Jebm1vtOkQEK1asQLdu3eDt7Q0HBwfUr18frVu3xrhx47B9+/bqb0g5X3zxBSZMmICoqCi4uLhAo9Fg1qxZVi9//fp1NGjQwOLn7Pjx45g7dy66dOkCf39/ODg4oGHDhhg5ciSOHj1arbbn5eWhTp068PLywp07dyosm5aWBo1Gg2effbZ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BAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREowUIiISAkGChERKcFAISIiJRgoRESkBAOFiIiUYKAQEZESDBQiIlKCgUJEREpoRERquxFERPTHxzMUIiJSgoFCRERKMFCIiEgJBgoRESnBQCEiIiUYKEREpAQDhYiIlGCgEBGREgwUIiJS4v8Bymb5n2YSrf0AAAAASUVORK5CYII=",
      "text/plain": [
       "<Figure size 500x300 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "颜色描述: 饱和度为 55.7% 的红色调，明度为 49.8%\n"
     ]
    }
   ],
   "source": [
    "# 使用示例（修改这些值来查看不同颜色）\n",
    "show_hsv_color(h=5, s=142, v=127)     "
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
